Skip to main content
POST
/
workflow
/
{id}
/
terminate
[Deprecated] Terminate the latest workflow run
curl --request POST \
  --url http://localhost:3001/workflow/{id}/terminate \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "terminated": true,
  "workflowId": "<string>",
  "runId": "<string>"
}

Path Parameters

id
string
required

Body

application/json
reason
string

Response

The workflow run was terminated

terminated
boolean
workflowId
string
runId
string